<?php
    class forget extends Zend_Form
    {
        public function __construct($options = null) 
        {
            parent :: __construct($options);
            formInput($this, 'courriel', 'Courriel');
            // formHtml($this, 'html', 'html', false);
            
            $submit = new Zend_Form_Element_Submit('OK');
            $submit -> setLabel(__('OK'));
            $submit -> setDecorators(array(
                'ViewHelper',
                array(array('td' => 'HtmlTag'), array('tag' => 'td', 'colspan' => 2)),
                array(array('tr' => 'HtmlTag'), array('tag' => 'tr'))
            ));
            $submit -> setAttrib('class', 'submit');
            
            $this   -> setAction(makeUrl('forget'))
                    -> setDecorators(
                            array(
                                'FormElements',
                                array('HtmlTag', array('tag' => 'table')),
                                'Form'
                            )
                        )
                    -> setAttrib('class', 'submit')
                    -> setMethod('post')
                    -> addElement($submit);
        }
    }
?>